package com.lzh.runke.entity.spec;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.lzh.runke.core.annotation.date.DateFieldType;
import com.lzh.runke.core.entity.spec.BaseSpec;
import com.lzh.runke.entity.OrgInfo;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 站点区域数据查询spec
 *
 * @author lzh
 */
@Data
@Accessors(chain = true)
public class MySpec extends BaseSpec {
    @JsonProperty("siteId")
    private String siteId;
    @JsonProperty("org")
    private OrgInfo org;
    @JsonProperty("dataType")
    private DateFieldType dataType;
    @JsonProperty("startTime")
    private Date startTime;
    @JsonProperty("endTime")
    private Date endTime;
}
